package biz;

import java.util.List;

import bean.Employee;

public interface EmployeeBiz {
	public Employee login(String userName, String password);

	public boolean addEmployee(Employee employee);

	public boolean delEmployee(int eid);

	public boolean updateEmployee(Employee employee);
	
	public List<Employee> getAll();
	
	public Employee getEmployeeByuserName(String userName);
	
	public Employee getEmployeeByeid(int eid);
}
